from core.basic.skill import 技能
from core.basic.character import Character
from core.basic.skill import 主动技能, 被动技能


class 技能0(主动技能):
    名称 = "下段踢"
    所在等级 = 5
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 2
    MP = [10, 112]
    无色消耗 = 0
    data0 = [0, 1187, 1307, 1427, 1547, 1670, 1789, 1909, 2029, 2152, 2271, 2390, 2511, 2631, 2752, 2873, 2993, 3113, 3232, 3354, 3474, 3594, 3718, 3837, 3957, 4078, 4199, 4318, 4439, 4560, 4680, 4800, 4921, 5041, 5161, 5282, 5402, 5523, 5644, 5763, 5884, 6005, 6125, 6244, 6364, 6487, 6607, 6726, 6849, 6969, 7089, 7210, 7331, 7451, 7572, 7692, 7811, 7932, 8053, 8173, 8294, 8416, 8536, 8656, 8778, 8897, 9017, 9136, 9258, 9377, 9498]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能1(被动技能):
    名称 = '拳套掌握'
    所在等级 = 15
    等级上限 = 20
    学习间隔 = 3
    等级精通 = 10
    基础等级 = 10
    冷却关联技能 = ['所有']
    非冷却关联技能 = ['烈焰焚步', '双重释放', '极武霸皇踢', '焚火逐日拳']
    关联技能 = ['无']

    def 加成倍率(self, 武器类型):
        return 1.0

    def CD缩减倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            if 武器类型 == '拳套':
                return 0.9
            else:
                return 1.0


class 技能2(主动技能):
    名称 = "肘击"
    所在等级 = 15
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 6
    MP = [30, 252]
    无色消耗 = 0
    data0 = [0, 3126, 3442, 3758, 4074, 4392, 4708, 5026, 5343, 5661, 5978, 6293, 6611, 6929, 7245, 7563, 7879, 8196, 8514, 8830, 9147, 9465, 9782, 10099, 10418, 10733, 11051, 11366, 11686, 12001, 12320, 12637, 12952, 13269, 13586, 13902, 14223, 14538, 14854, 15172, 15488, 15806, 16123, 16441, 16758, 17073, 17390, 17708, 18025, 18343, 18659, 18976, 19293, 19608, 19928, 20245, 20561, 20879, 21194, 21513, 21830, 22145, 22465, 22780, 23098, 23414, 23732, 24048, 24366, 24681, 25001]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能3(主动技能):
    名称 = "铁山靠"
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 7
    MP = [50, 420]
    无色消耗 = 0
    data0 = [0, 4685, 5162, 5638, 6114, 6590, 7065, 7540, 8016, 8493, 8968, 9445, 9920, 10395, 10872, 11348, 11823, 12300, 12774, 13249, 13727, 14201, 14677, 15152, 15628, 16103, 16580, 17054, 17531, 18007, 18482, 18958, 19434, 19910, 20385, 20862, 21337, 21814, 22289, 22765, 23240, 23716, 24191, 24669, 25141, 25617, 26094, 26568, 27045, 27521, 27996, 28472, 28949, 29423, 29899, 30377, 30851, 31327, 31802, 32278, 32755, 33231, 33706, 34182, 34656, 35133, 35607, 36082, 36560, 37035, 37510]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能4(主动技能):
    名称 = "碎骨"
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 7
    MP = [50, 420]
    无色消耗 = 0
    data0 = [0, 4750, 5230, 5712, 6193, 6676, 7158, 7641, 8120, 8603, 9084, 9566, 10048, 10530, 11011, 11495, 11976, 12457, 12940, 13421, 13901, 14385, 14866, 15348, 15829, 16311, 16793, 17276, 17757, 18241, 18720, 19203, 19684, 20167, 20648, 21129, 21611, 22093, 22574, 23058, 23538, 24020, 24503, 24984, 25465, 25949, 26428, 26913, 27393, 27875, 28356, 28838, 29319, 29803, 30284, 30767, 31249, 31728, 32210, 32694, 33174, 33657, 34137, 34621, 35101, 35582, 36066, 36547, 37028, 37511, 37992]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能5(被动技能):
    名称 = '柔化肌肉'
    所在等级 = 30
    等级上限 = 15
    学习间隔 = 5
    等级精通 = 5

    额外加成 = 0

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.125 + 0.015 * self.等级 + self.额外加成, 5)


class 技能6(主动技能):
    名称 = "闪击快打"
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 12
    MP = [50, 420]
    无色消耗 = 0
    data0 = [0, 3214, 3540, 3865, 4194, 4519, 4843, 5172, 5497, 5825, 6151, 6476, 6802, 7128, 7454, 7781, 8106, 8434, 8759, 9085, 9413, 9738, 10063, 10389, 10718, 11042, 11370, 11694, 12023, 12348, 12673, 13002, 13325, 13653, 13978, 14305, 14629, 14958, 15282, 15610, 15935, 16263, 16589, 16912, 17242, 17565, 17892, 18218, 18546, 18871, 19197, 19523, 19850, 20176, 20503, 20829, 21154, 21482, 21805, 22133, 22458, 22786, 23113, 23437, 23765, 24090, 24416, 24743, 25069, 25397, 25721]
    hit0 = 1
    data1 = [0, 4468, 4923, 5376, 5832, 6281, 6736, 7187, 7643, 8095, 8550, 9002, 9455, 9908, 10363, 10817, 11269, 11725, 12177, 12630, 13082, 13536, 13988, 14444, 14896, 15351, 15805, 16259, 16711, 17165, 17618, 18070, 18525, 18977, 19431, 19884, 20337, 20791, 21245, 21698, 22151, 22606, 23060, 23514, 23967, 24419, 24870, 25325, 25780, 26232, 26687, 27139, 27592, 28046, 28500, 28952, 29407, 29860, 30315, 30770, 31219, 31674, 32126, 32580, 33033, 33489, 33941, 34397, 34847, 35302, 35755]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能7(主动技能):
    名称 = "冲膝"
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 15
    MP = [130, 1092]
    无色消耗 = 1
    data0 = [0, 11284, 12430, 13570, 14715, 15861, 17006, 18151, 19297, 20441, 21585, 22731, 23877, 25020, 26163, 27309, 28455, 29598, 30746, 31889, 33033, 34178, 35322, 36467, 37611, 38759, 39903, 41046, 42192, 43336, 44480, 45626, 46772, 47916, 49058, 50205, 51349, 52494, 53639, 54786, 55928, 57072, 58218, 59363, 60508, 61654, 62799, 63943, 65084, 66231, 67378, 68520, 69665, 70811, 71956, 73099, 74245, 75391, 76535, 77679, 78824, 79967, 81114, 82260, 83405, 84546, 85691, 86837, 87981, 89128, 90272]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5

    国服特色 = 1.0653


class 技能8(主动技能):
    名称 = "炽焰旋风腿"
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 20
    MP = [170, 1428]
    无色消耗 = 1
    data0 = [0, 1385, 1527, 1666, 1807, 1948, 2087, 2231, 2371, 2511, 2653, 2793, 2935, 3075, 3213, 3354, 3494, 3637, 3776, 3917, 4059, 4199, 4340, 4481, 4622, 4762, 4902, 5043, 5184, 5325, 5466, 5607, 5746, 5888, 6027, 6168, 6309, 6451, 6592, 6732, 6874, 7012, 7153, 7295, 7434, 7575, 7718, 7857, 7998, 8139, 8279, 8421, 8562, 8702, 8841, 8979, 9124, 9264, 9406, 9547, 9686, 9827, 9966, 10107, 10248, 10390, 10531, 10671, 10813, 10952, 11092]
    hit0 = 1
    data1 = [0, 1385, 1527, 1666, 1807, 1948, 2087, 2231, 2371, 2511, 2653, 2793, 2935, 3075, 3213, 3354, 3494, 3637, 3776, 3917, 4059, 4199, 4340, 4481, 4622, 4762, 4902, 5043, 5184, 5325, 5466, 5607, 5746, 5888, 6027, 6168, 6309, 6451, 6592, 6732, 6874, 7012, 7153, 7295, 7434, 7575, 7718, 7857, 7998, 8139, 8279, 8421, 8562, 8702, 8841, 8979, 9124, 9264, 9406, 9547, 9686, 9827, 9966, 10107, 10248, 10390, 10531, 10671, 10813, 10952, 11092]
    hit1 = 6
    data2 = [0, 4197, 4624, 5047, 5473, 5898, 6327, 6751, 7177, 7603, 8029, 8453, 8880, 9307, 9732, 10157, 10583, 11009, 11436, 11861, 12287, 12714, 13139, 13564, 13990, 14418, 14843, 15268, 15692, 16120, 16546, 16970, 17399, 17821, 18249, 18676, 19101, 19526, 19954, 20378, 20803, 21230, 21657, 22083, 22509, 22933, 23359, 23786, 24210, 24637, 25065, 25490, 25913, 26341, 26765, 27192, 27617, 28044, 28468, 28897, 29321, 29747, 30173, 30597, 31023, 31449, 31877, 32304, 32729, 33153, 33580]
    hit2 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    国服特色 = 1.0654

    def 装备护石(self, char):
        self.hit1 += 6
        self.power1 = 1 - 0.31 + 0.17


class 技能9(主动技能):
    名称 = "闪电之舞"
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 20
    MP = [180, 1512]
    无色消耗 = 1
    data0 = [0, 1683, 1857, 2026, 2196, 2368, 2538, 2711, 2882, 3051, 3222, 3396, 3566, 3735, 3907, 4079, 4247, 4420, 4591, 4760, 4933, 5104, 5273, 5446, 5615, 5787, 5960, 6130, 6298, 6473, 6642, 6814, 6983, 7154, 7327, 7498, 7667, 7838, 8010, 8182, 8351, 8522, 8695, 8866, 9035, 9205, 9378, 9549, 9719, 9891, 10062, 10233, 10404, 10576, 10744, 10918, 11089, 11257, 11430, 11600, 11770, 11943, 12114, 12283, 12456, 12626, 12797, 12969, 13138, 13310, 13482]
    hit0 = 1
    data1 = [0, 11795, 12992, 14190, 15384, 16583, 17779, 18977, 20173, 21371, 22567, 23763, 24962, 26158, 27352, 28551, 29747, 30946, 32141, 33336, 34535, 35733, 36929, 38125, 39322, 40520, 41718, 42912, 44112, 45307, 46503, 47701, 48896, 50095, 51290, 52487, 53686, 54881, 56078, 57275, 58471, 59670, 60864, 62062, 63259, 64455, 65652, 66849, 68046, 69243, 70438, 71637, 72833, 74031, 75227, 76423, 77619, 78817, 80017, 81211, 82406, 83604, 84801, 86000, 87193, 88391, 89588, 90786, 91983, 93177, 94377]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    国服特色 = 1.0651

    def 装备护石(self, char):
        self.倍率 *= 1.33


class 技能10(主动技能):
    名称 = "瞬影连环踢"
    所在等级 = 45
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 45
    MP = [400, 3360]
    无色消耗 = 2
    data0 = [0, 26153, 28809, 31462, 34116, 36768, 39422, 42075, 44730, 47382, 50039, 52690, 55342, 57997, 60650, 63305, 65958, 68612, 71265, 73920, 76572, 79226, 81877, 84532, 87184, 89840, 92494, 95146, 97799, 100451, 103106, 105760, 108415, 111067, 113723, 116375, 119027, 121682, 124335, 126990, 129643, 132296, 134948, 137604, 140256, 142912, 145564, 148216, 150872, 153524, 156177, 158830, 161483, 164137, 166793, 169445, 172100, 174752, 177405, 180058, 182713, 185367, 188021, 190674, 193326, 195981, 198633, 201290, 203942, 206595, 209248]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    国服特色 = 1.0646

    def 装备护石(self, char):
        self.倍率 *= 1.31


class 技能11(被动技能):
    名称 = '烈焰燃烧'
    所在等级 = 48
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    # 物理攻击力加成
    def 物理攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.03 + 0.01 * self.等级, 5)


class 技能12(主动技能):
    名称 = "烈焰焚步"
    所在等级 = 50
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 145
    MP = [500, 4480]
    无色消耗 = 5
    data0 = [0, '0', '0', 4523, 4954, 5386, 5816, 6248, 6679, 7111, 7542, 7974, 8405, 8837, 9267, 9699, 10130, 10562, 10993, 11425, 11856, 12288, 12718, 13150, 13581, 14013, 14444, 14876, 15307, 15738, 16169, 16601, 17032, 17464, 17895, 18327, 18757, 19189, 19620, 20052, 20483, 20915, 21346, 21778, 22208, 22640, 23071, 23503, 23934, 24366, 24797]
    hit0 = 1

    国服特色 = 1.0646

    关联技能 = ['所有']
    冷却关联技能 = ['所有']
    非冷却关联技能 = ['烈焰焚步', '双重释放', '极武霸皇踢', '焚火逐日拳']

    # 被动技能攻击力加成
    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.02 + 0.04 * (self.等级-1), 5)

    def CD缩减倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 0.85


# 双重释放不被视为觉醒技能(Lv50);其等级同烈焰焚步
class 技能13(主动技能):
    名称 = '双重释放'
    所在等级 = 50
    等级上限 = 1
    学习间隔 = 1
    等级精通 = 1
    基础等级 = 1
    MP = [850, 7000]
    无色消耗 = 0
    data0 = [0, 63232, 77895, 92556, 107217, 121880, 136542, 151205, 165868, 180530, 195191, 209855, 224517, 239183, 253843, 268506, 283171, 297830, 312495, 327155, 341820, 356481, 371144, 385807, 400467, 415131, 429794, 444453, 459118, 473781, 488442, 503104, 517766, 532432, 547095, 561758, 576416, 591080, 605742, 620405, 635067, 649735, 664397, 679052, 693720, 708379, 723044, 737707, 752368, 767032, 781692]
    hit0 = 1
    CD = 145

    国服特色 = 1.0646

    关联技能 = ['所有']
    额外倍率 = 1.0
    非关联技能 = ['双重释放', '烈焰焚步', '极武霸皇踢', '焚火逐日拳']

    def 加成倍率(self, 武器类型):
        return self.额外倍率

    关联技能1 = ['所有']
    额外倍率1 = 1.0
    非关联技能1 = ["下段踢","肘击","铁山靠","碎骨","闪击快打"]

    def 加成倍率1(self, 武器类型):
        return self.额外倍率1

class 技能14(主动技能):
    名称 = "飞燕旋风"
    所在等级 = 60
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 30
    MP = [450, 1260]
    无色消耗 = 1
    data0 = [0, 5522, 6080, 6640, 7200, 7762, 8325, 8882, 9442, 10002, 10563, 11121, 11683, 12243, 12803, 13365, 13925, 14485, 15043, 15604, 16167, 16725, 17284, 17845, 18407, 18968, 19526, 20085, 20647, 21205, 21766, 22326, 22888, 23448, 24008, 24568, 25128, 25688, 26247, 26808, 27370, 27930, 28490, 29050, 29609, 30170, 30731, 31291, 31851, 32412, 32972]
    hit0 = 2
    data1 = [0, 11360, 12516, 13667, 14819, 15973, 17128, 18281, 19430, 20583, 21736, 22890, 24044, 25194, 26348, 27501, 28654, 29806, 30958, 32110, 33265, 34418, 35571, 36724, 37876, 39028, 40181, 41334, 42486, 43640, 44794, 45945, 47098, 48251, 49405, 50556, 51710, 52861, 54016, 55169, 56322, 57472, 58627, 59780, 60933, 62084, 63238, 64390, 65545, 66696, 67848]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    国服特色 = 1.0649

    def 装备护石(self, char):
        self.hit0 += 2
        self.power0 = 0.88
        self.power1 = 0.88


class 技能15(主动技能):
    名称 = "旋风碎心踢"
    所在等级 = 70
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 50
    MP = [935, 1960]
    无色消耗 = 2
    data0 = [0, 762, 841, 917, 994, 1073, 1149, 1228, 1305, 1383, 1461, 1538, 1614, 1694, 1770, 1847, 1925, 2003, 2082, 2158, 2235, 2312, 2390, 2466, 2544, 2622, 2699, 2778, 2853, 2932, 3010, 3087, 3165, 3243, 3319, 3398, 3474, 3552, 3630, 3707, 3786, 3862, 3941, 4019, 4094, 4173, 4249, 4327, 4406, 4483, 4560]
    hit0 = 4
    data1 = [0, 11048, 12166, 13289, 14407, 15531, 16650, 17772, 18892, 20015, 21133, 22254, 23376, 24496, 25619, 26738, 27861, 28980, 30101, 31222, 32343, 33464, 34585, 35704, 36827, 37947, 39068, 40188, 41310, 42431, 43550, 44672, 45793, 46916, 48035, 49157, 50277, 51397, 52518, 53637, 54759, 55880, 57001, 58121, 59243, 60365, 61484, 62606, 63725, 64847, 65966]
    hit1 = 1
    data2 = [0, 25041, 27582, 30121, 32662, 35204, 37746, 40285, 42824, 45365, 47905, 50448, 52988, 55529, 58068, 60609, 63150, 65690, 68231, 70772, 73313, 75850, 78394, 80934, 83473, 86015, 88556, 91094, 93636, 96178, 98718, 101258, 103801, 106338, 108879, 111419, 113962, 116501, 119044, 121584, 124122, 126664, 129203, 131747, 134286, 136826, 139367, 141906, 144447, 146987, 149529]
    hit2 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    国服特色 = 1.0649

    def 装备护石(self, char):
        self.倍率 *= 1.24


class 技能16(主动技能):
    名称 = "烈火强踢"
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 45
    MP = [450, 1260]
    无色消耗 = 3
    data0 = [0, 65618, 72276, 78932, 85590, 92246, 98901, 105562, 112216, 118873, 125529, 132188, 138845, 145501, 152157, 158817, 165472, 172130, 178784, 185444, 192101, 198756, 205415, 212073, 218727, 225386, 232042, 238700, 245358, 252012, 258671, 265328, 271985, 278640, 285298, 291956, 298612, 305270, 311927, 318582, 325241, 331897, 338554, 345211, 351868, 358525, 365183, 371837, 378495, 385154, 391810]
    hit0 = 1

    是否有护石 = 1

    国服特色 = 1.0649

    def 装备护石(self, char):
        self.倍率 *= 1.35
        self.CDR *= 0.9


class 技能17(被动技能):
    名称 = '烈火支配'
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.17 + 0.02 * self.等级, 5)


class 技能18(主动技能):
    名称 = "烈火强拳"
    所在等级 = 80
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 55
    MP = [450, 1260]
    无色消耗 = 4
    data0 = [0, 79905, 88010, 96117, 104221, 112328, 120434, 128546, 136646, 144755, 152862, 160968, 169075, 177178, 185286, 193392, 201501, 209606, 217711, 225818, 233926, 242029, 250137, 258246, 266350, 274456, 282562, 290669, 298776, 306881, 314989, 323092, 331200, 339309, 347411, 355521, 363626, 371732, 379838, 387945, 396052, 404159, 412262, 420372, 428475, 436583, 444690, 452799, 460903, 469009, 477115]
    hit0 = 1

    是否有护石 = 1

    国服特色 = 1.0646

    def 装备护石(self, char):
        self.倍率 *= 1.35


class 技能19(主动技能):
    名称 = "极武霸皇踢"
    所在等级 = 85
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 180
    MP = [2500, 5000]
    无色消耗 = 10
    data0 = [0, 33395, 41136, 48881, 56624, 64367, 72109, 79855, 87598, 95341, 103086, 110828, 118572, 126316, 134061, 141803, 149546, 157292, 165033, 172780, 180520, 188267, 196008, 203754, 211496, 219240, 226984, 234728, 242470, 250215, 257958, 265702, 273446, 281189, 288933, 296676, 304418, 312163, 319906, 327651, 335395, 343139, 350881, 358625, 366367, 374113, 381855, 389600, 397342, 405088, 412828]
    hit0 = 1
    data1 = [0, 41928, 51649, 61372, 71094, 80816, 90538, 100261, 109983, 119705, 129427, 139151, 148872, 158595, 168316, 178042, 187761, 197484, 207208, 216930, 226652, 236375, 246098, 255819, 265541, 275265, 284988, 294707, 304431, 314153, 323874, 333598, 343321, 353045, 362764, 372488, 382212, 391932, 401654, 411377, 421101, 430822, 440545, 450267, 459989, 469711, 479434, 489155, 498877, 508600, 518323]
    hit1 = 1
    data2 = [0, 92240, 113628, 135017, 156407, 177799, 199186, 220576, 241965, 263355, 284744, 306133, 327519, 348910, 370301, 391688, 413079, 434467, 455857, 477245, 498636, 520025, 541415, 562805, 584193, 605580, 626973, 648362, 669750, 691138, 712527, 733917, 755307, 776697, 798084, 819475, 840862, 862255, 883643, 905032, 926422, 947811, 969201, 990588, 1011978, 1033366, 1054757, 1076146, 1097535, 1118924, 1140314]
    hit2 = 1

    国服特色 = 1.065


class 技能20(被动技能):
    名称 = '千锤百炼'
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能21(主动技能):
    名称 = "炼狱坠星腿"
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 60
    MP = [773, 6000]
    无色消耗 = 7
    data0 = [0, 134093, 147697, 161301, 174906, 188510, 202113, 215716, 229322, 242926, 256528, 270135, 283738, 297342, 310946, 324550, 338152, 351759, 365361, 378966, 392570, 406174, 419776, 433382, 446984, 460591, 474192, 487797, 501402, 515006, 528611, 542215, 555817, 569421, 583026, 596629, 610234, 623839, 637440, 651044, 664650, 678253, 691857, 705463, 719066, 732670, 746272, 759875, 773481, 787087, 800689]
    hit0 = 1

    国服特色 = 1.0649


class 技能22(主动技能):
    名称 = "焚火逐日拳"
    所在等级 = 100
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 290
    MP = [4028, 8056]
    无色消耗 = 15
    data0 = [0, 48226, 59409, 70592, 81774, 92958, 104141, 115324, 126507, 137689, 148872, 160057, 171240, 182423, 193605, 204788, 215973, 227156, 238339, 249521, 260704, 271888, 283070, 294254, 305436, 316619, 327804, 338985, 350169, 361351, 372535, 383718, 394901, 406084, 417267, 428449, 439635, 450817, 462000, 473183, 484365, 495548, 506734, 517916, 529099, 540281, 551464, 562648, 573831, 585014, 596196]
    hit0 = 1
    data1 = [0, 24112, 29703, 35295, 40888, 46478, 52070, 57660, 63254, 68845, 74437, 80027, 85619, 91210, 96803, 102393, 107985, 113576, 119168, 124761, 130351, 135945, 141534, 147127, 152718, 158310, 163901, 169492, 175083, 180675, 186266, 191859, 197448, 203042, 208632, 214225, 219818, 225407, 231000, 236590, 242183, 247774, 253365, 258956, 264548, 270139, 275733, 281323, 286915, 292505, 298098]
    hit1 = 1
    data2 = [0, 28935, 35645, 42355, 49063, 55773, 62486, 69195, 75904, 82614, 89324, 96034, 102742, 109452, 116163, 122873, 129582, 136293, 143003, 149713, 156422, 163131, 169841, 176551, 183262, 189971, 196680, 203391, 210100, 216811, 223520, 230230, 236941, 243651, 250359, 257070, 263779, 270489, 277199, 283908, 290619, 297330, 304038, 310748, 317459, 324168, 330878, 337586, 344297, 351009, 357718]
    hit2 = 1
    data3 = [0, 33758, 41586, 49413, 57242, 65070, 72897, 80727, 88556, 96383, 104211, 112039, 119868, 127695, 135522, 143352, 151181, 159008, 166836, 174665, 182492, 190320, 198148, 205977, 213806, 221633, 229462, 237291, 245118, 252945, 260774, 268601, 276431, 284258, 292087, 299915, 307743, 315571, 323400, 331227, 339055, 346883, 354713, 362541, 370368, 378197, 386025, 393852, 401680, 409509, 417337]
    hit3 = 1
    data4 = [0, 72338, 89114, 105889, 122663, 139438, 156211, 172987, 189761, 206537, 223311, 240084, 256861, 273634, 290410, 307183, 323959, 340733, 357507, 374283, 391057, 407832, 424605, 441380, 458157, 474929, 491705, 508478, 525255, 542030, 558802, 575578, 592351, 609128, 625901, 642676, 659452, 676225, 693001, 709773, 726549, 743324, 760099, 776874, 793646, 810423, 827196, 843972, 860746, 877522, 894296]
    hit4 = 1
    data5 = [0, 106098, 130700, 155304, 179907, 204508, 229112, 253714, 278318, 302921, 327523, 352127, 376728, 401331, 425934, 450537, 475139, 499744, 524345, 548947, 573551, 598153, 622755, 647359, 671963, 696565, 721166, 745770, 770373, 794976, 819579, 844182, 868784, 893386, 917990, 942591, 967197, 991798, 1016400, 1041002, 1065606, 1090208, 1114812, 1139416, 1164017, 1188620, 1213223, 1237825, 1262429, 1287032, 1311634]
    hit5 = 1
    data6 = [0, 168793, 207935, 247073, 286216, 325357, 364497, 403638, 442778, 481919, 521061, 560201, 599341, 638483, 677623, 716763, 755906, 795045, 834186, 873327, 912468, 951608, 990750, 1029891, 1069030, 1108172, 1147312, 1186454, 1225593, 1264735, 1303875, 1343015, 1382158, 1421298, 1460438, 1499579, 1538721, 1577860, 1617002, 1656144, 1695283, 1734425, 1773565, 1812705, 1851847, 1890988, 1930127, 1969269, 2008411, 2047549, 2086692]
    hit6 = 1

    国服特色 = 1.07


class classChange(Character):
    def __init__(self, equVersion=""):
        self.实际名称 = 'striker_male'
        self.名称 = '归元·散打'
        self.角色 = '格斗家(男)'
        self.角色类型 = '输出'
        self.职业 = '散打'
        # 用来筛CP武器的
        self.转职 = '散打(男)'
        self.武器选项 = ['拳套']
        self.输出类型选项 = ['物理百分比']
        self.防具精通属性 = ['力量']
        self.类型 = '物理百分比'
        self.武器类型 = '拳套'
        self.防具类型 = '轻甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 2.04

        super().__init__(equVersion)

    def 伤害计算(self):
        # 后续完善双重释放体现在技能上
        return super().伤害计算()

    def 基础面板物理攻击力(self) -> float:
        # 武极48级被动的运算取整必须在其他物攻提升率之前
        return int(super().基础面板物理攻击力())

    def 职业特殊计算(self):
        # 二觉解放等级绑定
        双重释放 = self.get_skill_by_name('双重释放')
        双重释放.等级上限 = 50
        双重释放.等级 = self.get_skill_by_name(
            '烈焰焚步').等级

    # def 设置觉醒技能(self):
    #     self.觉醒技能 = []
    #     for i in self.技能栏:
    #         if i.是否有伤害 == 1 and i.所在等级 in [50,85,100] and i.名称 != '双重释放':
    #             self.觉醒技能.append(i.名称)